package com.exercise.DesignPattern.StructuralPatterns.DecoratorPattern;

//抽象类
public abstract class Decorator implements Component {

    private Component component;;
    public Decorator(Component component){
        this.component = component;
    }

    public void operation() {
        component.operation();
    }
}
